package com.example.oasystem.service;

import com.example.oasystem.entity.attachment.AoaAttachmentListOfl;
import com.example.oasystem.entity.dept.AoaDept;
import com.example.oasystem.entity.plan.AoaPlanList;
import com.example.oasystem.entity.status.AoaStatusList;
import com.example.oasystem.entity.type.AoaTypeList;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface AoaPlanListService {

    PageInfo<AoaPlanList>plans(Long planUserId,String baseKey,int pageNum, int pageSize);

    PageInfo<AoaPlanList> myPlans(Long planUserId,
                                  String baseKey,
                                  Integer type,
                                  Integer time,
                                  Integer status,
                                  int pageNum,
                                  int pageSize);
    AoaDept dept(Long deptId);

    List<AoaTypeList> typeList();

    List<AoaStatusList>statusList();

    int deleteByPrimaryKey(Long planId);


    int insertSelective(AoaPlanList record);


    int updateByPrimaryKeySelective(AoaPlanList record);

    AoaPlanList selectByPrimaryKey(Long planId);

    int insertSelectivePath(AoaAttachmentListOfl record);

    List<AoaAttachmentListOfl>attachment();
}
